﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace NewTools
{
    internal class LoadCmdThread
    {
        private MainWindow mainWindow;
        public LoadCmdThread(MainWindow mainWindow)
        {
            this.mainWindow = mainWindow;   
        }

        public void Run()
        {
            mainWindow.mSynchronizationContext.Post(new SendOrPostCallback(mainWindow.LoadCmdThreadExit), ParseIni.GetInstance().DefaultCommandName_Get());
        }
    }
}
